/**
 *
 */
package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 旷课迟到信息Entity
 * @author hss
 * @version 2017-09-27
 */
public class Kkcdtj extends DataEntity<Kkcdtj> {
	
	private static final long serialVersionUID = 1L;
	private String num;		// 学号
	private String time;		// 时间
	private String teacher;		// 任课老师
	private String kname;		// 课程名称
	private String kdz;		// 上课位置
	private String state;		// 状态
	
	public Kkcdtj() {
		super();
	}

	public Kkcdtj(String id){
		super(id);
	}

	@Length(min=0, max=40, message="学号长度必须介于 0 和 40 之间")
	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}
	
	@Length(min=0, max=20, message="时间长度必须介于 0 和 20 之间")
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	@Length(min=0, max=50, message="任课老师长度必须介于 0 和 50 之间")
	public String getTeacher() {
		return teacher;
	}

	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	
	@Length(min=0, max=40, message="课程名称长度必须介于 0 和 40 之间")
	public String getKname() {
		return kname;
	}

	public void setKname(String kname) {
		this.kname = kname;
	}
	
	@Length(min=0, max=60, message="上课位置长度必须介于 0 和 60 之间")
	public String getKdz() {
		return kdz;
	}

	public void setKdz(String kdz) {
		this.kdz = kdz;
	}
	
	@Length(min=0, max=1, message="状态长度必须介于 0 和 1 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
}